package com.easyOrder.dao;

import com.easyOrder.model.MaterialClass;
import com.easyOrder.model.MaterialClassExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MaterialClassMapper {
    int countByExample(MaterialClassExample example);

    int deleteByExample(MaterialClassExample example);

    int deleteByPrimaryKey(Long id);

    int insert(MaterialClass record);

    int insertSelective(MaterialClass record);

    List<MaterialClass> selectByExample(MaterialClassExample example);

    MaterialClass selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") MaterialClass record, @Param("example") MaterialClassExample example);

    int updateByExample(@Param("record") MaterialClass record, @Param("example") MaterialClassExample example);

    int updateByPrimaryKeySelective(MaterialClass record);

    int updateByPrimaryKey(MaterialClass record);
}